$(document).ready(function(){
   /* user/create
    * school other school name 
    */
    $('#user-form #UserEducation_school_id').change(function() { 
        if($(this).val()==99999) {
            $("#UserEducation_other_school_name").removeAttr("disabled");
        }else {
            $("#UserEducation_other_school_name").attr("disabled", "disabled");
        }
    });

    /* province list 
     * 
     */
    $("#nationalityProvince select").change(function() {
        $(this).closest('form').submit();
    });

    /* district list 
     * 
     */
    $("#provinceDistrict #provinceId").change(function() {
        $(this).closest('form').submit();
    });
});
